package com.mairuide.bill.titlepool;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.mairuide._frame.base.BaseModel;

/**
 * 标题池表
 * @author mh
 *
 */
@Entity
@Table(name="tb_deal_flow_title_pool")
public class DealFlowTitlePool extends BaseModel{
	
	/**
	 * id
	 */
	@Id
	@Column(name="id")
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "deal_flow_title_pool")
	@SequenceGenerator(name = "deal_flow_title_pool", sequenceName = "SEQ_DEAL_FLOW_TITLE_POOL",allocationSize=1)
	private Integer id;
	
	/**
	 * 标题头
	 */
	@Column(name="bank_title_name")
	private String bankTitleName;
	
	/**
	 * 标题id
	 */
	@Column(name="title_id")
	private Integer titleId;
	
	/**
	 * 创建人id
	 */
	@Column(name="create_id")
	private Integer createId;
	
	/**
	 * 创建时间
	 */
	@Column(name="create_time")
	private Date createTime;
	
	/**
	 * 删除状态
	 */
	@Column(name="IS_DELETE")
	private Integer isDelete;

	/**
	 * 对应实体类的包路径
	 */
	@Column(name="CLASS_NAME")
	private String className;

	/**
	 * 对应的实体类的字段
	 */
	@Column(name="CLASS_FIELD")
	private String classField;
	/**
	 * 字段类型
	 */
	@Column(name="FIELD_TYPE")
	private Integer fieldType;

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public String getClassField() {
		return classField;
	}

	public void setClassField(String classField) {
		this.classField = classField;
	}

	public Integer getFieldType() {
		return fieldType;
	}

	public void setFieldType(Integer fieldType) {
		this.fieldType = fieldType;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getBankTitleName() {
		return bankTitleName;
	}

	public void setBankTitleName(String bankTitleName) {
		this.bankTitleName = bankTitleName;
	}

	public Integer getTitleId() {
		return titleId;
	}

	public void setTitleId(Integer titleId) {
		this.titleId = titleId;
	}

	public Integer getCreateId() {
		return createId;
	}

	public void setCreateId(Integer createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}
	
}
